package com.yumiusik.common.domain;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "AUDIO_INFORMATION")
public class AudioInformation implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "VIDEO_ID", nullable = false, length = 250)
	@Basic(optional = false)
	private String video_id;

	@Basic(optional = false)
    @Column(name = "TITLE", nullable = false, length = 1000)
	private String title;

	@Basic(optional = false)
    @Column(name = "LENGTH_BYTES", nullable = false)
	private Long length;

	@Basic(optional = false)
    @Column(name = "LINK", nullable = false, length = 500)
	private String link;

	@Basic(optional = false)
    @Column(name = "DURATION", nullable = false)
	private Long duration;

	@Basic(optional = false)
    @Column(name = "IMAGE_LINK", nullable = false, length = 500)
	private String image;

	@Basic(optional = false)
    @Column(name = "VALIDATE", nullable = false, length = 500)
	private String validate;

	public String getVideo_id() {
		return video_id;
	}

	public void setVideo_id(String videoId) {
		video_id = videoId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Long getLength() {
		return length;
	}

	public void setLength(Long length) {
		this.length = length;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public Long getDuration() {
		return duration;
	}

	public void setDuration(Long duration) {
		this.duration = duration;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getValidate() {
		return validate;
	}

	public void setValidate(String validate) {
		this.validate = validate;
	}
}